package xyz.fivefaith.tool.common.util.bo;

import io.github.linpeilie.annotations.AutoMapper;

import lombok.Data;

import xyz.fivefaith.tool.common.util.JacksonUtil;

/**
 * user
 *
 * @author zhaoanchi
 * @version 1.0
 * @since 1.0
 */
@AutoMapper(target = User.class)
@Data
public class UserVo {

    private String id;
    private String name;
    private Integer age;
    private String deptId;
    private String deptName;

    @Override
    public String toString() {
        return JacksonUtil.toJson(this);
    }
}
